package Persistance.KMeans;

public class Trace
{
	public static boolean trace = true;
	
	public static void Write(String str)
	{
		if(trace)
		{
			StackTraceElement[] st = Thread.currentThread().getStackTrace();
			
			System.out.println(st[st.length-2].getClassName() + "." +
					st[st.length-2].getMethodName() + "." +
					st[st.length-2].getLineNumber() + "-->" + str);
		}
	}
}
